<%@ page contentType="text/html; charset=UTF-8"    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>货物配送系统</title>
<link rel="stylesheet" type="text/css" 
   href="${pageContext.request.contextPath }/css/readerTyper.css" />
</head>
<body style="font-size:20px">
<%@ include file="navigation.jsp" %>
	<div id="content">
	<p id="p"> 当前位置：车辆管理 >车辆类型管理 >>></p>
		<div>		
			<div align="left">
			<input id="button" type="button" onclick="window.location='/toaddcarType.do'" value="添加车辆类型信息">
		    </div>
		<table border="1" cellpadding="0" cellspacing="0">
			<tr bgcolor="#98d6d2">
				<td class="t1">车辆类型</td>
				<td class="t1">类型名称</td>
				<td class="t1">车辆容量</td>
				<td class="t1">修改</td>
				<td class="t1">删除</td>
			</tr>
			<c:forEach items="${carType}" var="ct">
				<tr>
					<td class="t1">${ct.carTypeId}</td>
					<td class="t1">${ct.carTypeName}</td>
					<td class="t1">${ct.carCapacity}</td>
					<td class="t1"><a
						href="/toupdcarType.do?carTypeId=${ct.carTypeId}">修改</a></td>
					<td class="t1"><a
						href="/delcarType.do?carTypeId=${ct.carTypeId}"
						onclick="return confirm('确定删除${ct.carTypeId}吗?');">删除</a></td>
				</tr>
			</c:forEach>
		</table>
		</div>
	</div>
</body>
</html>